CRPlugins\Oca\ShippingMethod\ShippingBranchesManager S

Total Complexity 45
Dependencies 5
Dependents 5
Total lines 250
Lines of code 188
Logical lines of code 69
Comment lines 22
Methods 12
Properties 1

Methods 12

Method Rating Maintainability Complexity Lines of code
maybe_show_branches_selection()
A
45 12 42
branch_response_to_object()
A
57 12 15
show_branches_selector()
S
46 4 44
maybe_clear_cache()
S
59 6 14
enqueue_javascript()
S
56 1 20
__construct()
S
68 2 7
get_branches_to()
S
68 2 7
get_selected_branch()
S
67 2 8
branch_to_array_response()
S
59 1 15
set_selected_branch()
S
72 1 6
no_address()
S
70 1 6
clear_cache()
S
75 1 4